package com.example.myapplication;

import androidx.appcompat.app.AppCompatActivity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class me_introduce extends Activity {
    private TextView myid;
    private Button aboutButton;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_me_introduce);
        myid=(TextView)findViewById(R.id.myid);
        myid.setText("Hello,"+LoginWithanim.LoginUserName);

    }

    public void about(View view) {
        Toast.makeText(this,"版本号1.0\nFinal_Android",Toast.LENGTH_SHORT).show();
    }

    public void LogOut(View view) {
        startActivity(new Intent(me_introduce.this,LoginWithanim.class));
    }

    public void letnew(View view) {
        Toast.makeText(this,"正在检查更新",Toast.LENGTH_SHORT).show();
        Toast.makeText(this,"暂无最新版本",Toast.LENGTH_SHORT).show();

    }
}